"""web URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.contrib import admin
from django_web.views import mb,index,upload_sjx_wj,transfer_log,alter_user_pwd
from django_web.views import search_sjb
from django_web.views import down_sjx_mb,down_scwj,scwj_down
from django_web.views import user_login,user_logout,add_user,user_info,del_user,search_sjb_data,sjx_mb_down,transfer_log_data,sjtj,sjtj_data
from django.conf.urls import *
urlpatterns = [
    url(r'^$',index),
    url(r'^mb',mb,name='mb'),
    url(r'^search_sjb_data/$',search_sjb_data,name='search_sjb_data'),
    url(r'^upload_sjx_wj/$',upload_sjx_wj,name='upload_sjx_wj'),
    url(r'^transfer_log/$',transfer_log,name='transfer_log'),
    url(r'^transfer_log_data/$',transfer_log_data,name='transfer_log_data'),
    url(r'^sjtj/$',sjtj,name='sjtj'),
    url(r'^sjtj_data/$',sjtj_data,name='sjtj_data'),
    url(r'^index',index,name='index'),
    url(r'^login/$',user_login),
    url(r'^logout/$',user_logout,name='logout'),
    url(r'^user_info/add_user/$',add_user,name='add_user'),
    url(r'^user_info/$',user_info,name='user_info'),
    url(r'^user_info/del/(.+)/$',del_user),
    url(r'^down_sjx_mb/$',down_sjx_mb),
    url(r'^down_scwj/$',down_scwj),
    url(r'^excel_mb/(.+)/$',sjx_mb_down),
    url(r'^transfer_log/(.+)/$',scwj_down),
    url(r'^alter_user_pwd/$', alter_user_pwd,name='alter_user_pwd'),
]
